You are here: Client and scripts > Scripts

Scripts

You can create script files to execute series and combinations of scripting commands to meet specific needs. When working with scripts, keep in mind the following.

IF <relational expression> THEN <statement_block> [ ELSE <statement_block> ] END

Use the following conditions to create the relational expression.

= equal to
!= not equal to
< less than
<= less than or equal to
> greater than
>= greater than or equal to
statement block any sequence of valid commands

FOR <variable> = <start_value> TO <end_value> [STEP <step_value>] DO <statement_block> END

WHILE <relational_expression> DO <statement_block> END

cmd /c DTCL -f "C:\Program Files\DoubleTake\scriptname.txt"

If you do not specify a path for the script file, Double-Take Availability will look in the directory where the DTCL -f command was executed.

Related Topics